System and method for controlling photoflash

ABSTRACT

A system for controlling photoflash includes a signal processing unit, a calculating unit, a photoflash module and an adjusting unit. The photoflash module includes a capacitor. The signal processing unit is configured for analyzing image information to get a current brightness value of the image, and the calculating unit is configured for calculating a first photoflash time of the photoflash module based on a first voltage value of the capacitor via analyzing the current brightness value. The adjusting unit is configured for adjusting the first photoflash time to get a second photoflash time according to a second voltage value of the capacitor, and outputting the second photoflash time to the photoflash module to control flashing of the photoflash module.

TECHNICAL FIELD

The present invention relates to photoflash control systems configured for digital products and, especially to a system and method for controlling photoflash for providing enough light during an image capturing process.

BACKGROUND

With the ongoing development of technology, digital products, such as digital cameras, PDAs, or digital video cameras, have become more widely used. In poor light conditions, such as on a cloudy day, a photoflash is necessary to obtain a quality image. The photoflash generally comprises a lamp and a capacitor. When the photoflash is used, the capacitor discharges causing the lamp to flash.

Referring to FIG. 3, a related photoflash apparatus 100 includes a light sensitive element 10 for converting light signals to electrical signals, a signal processor 12 for receiving the electrical signals to output the brightness (Y) information, a comparing unit 14, a calculating unit 16, and a photoflash module 18. The photoflash module 18 includes a lamp 17 and a capacitor 19. The capacitor 19 is discharged to make the lamp 17 flash to provide additional light for the image. The comparing unit 14 is configured for comparing a current brightness value with a predetermined brightness value stored in the comparing unit 14. When the current brightness value is less than that of the predetermined brightness value, the calculating unit 16 calculates the photoflash time of the photoflash module 18 based on the brightness Y, and outputs it to control the photoflash module 18.

However, during the calculating unit 16 calculating the photoflash time, the second voltage value of the capacitor 19 is gradually reduced, while the photoflash time calculated by the calculating unit 16 is based on a first voltage value of the capacitor 19. So by the time the capacitor 19 is discharged to provide additional light because the reduced voltage of the capacitor 19 is not enough to provide as bright a flash as was anticipated during calculation of the photoflash time.

SUMMARY

In accordance with a present embodiment, a system for controlling photoflash includes a signal processing unit, a calculating unit, a photoflash module and an adjusting unit. The photoflash module includes a capacitor. The signal processing unit is configured for receiving the electrical signals of an image received from a light sensitive element to get a brightness of the image, and the calculating unit is configured for calculating a first photoflash time of the photoflash module according to the brightness value and a first voltage value of the capacitor. The adjusting unit is configured for adjusting the first photoflash time to get a second photoflash time according to a second voltage value of the capacitor after the calculating unit finishing calculating. The second photoflash time is longer than that of the first photoflash time. The second photoflash time is output to the photoflash module to control the photoflash module.

Those and other advantages and novel features will be more readily apparent from the following detailed description set forth below taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the present system and method for controlling photoflash can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the system and method for controlling photoflash. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.

FIG. 1 is a block diagram illustrating some components of a system for controlling photoflash in accordance with a preferred embodiment.

FIG. 2 is a flow chart of a method for controlling photoflash taken in the preferred embodiment.

FIG. 3 is a functional chart of a related system for controlling photoflash.

DESCRIPTION OF EMBODIMENT

An embodiment of the present system and method for controlling photoflash will now be described in detail below with reference to the drawings.

Referring to FIG. 1, a photoflash control system 200, in accordance with a preferred embodiment, includes a signal processing unit 22, an A-D converter 23, a comparing unit 24, a calculating unit 26, a storing unit 27, an adjusting unit 28, and a photoflash module 29.

The signal processing unit 22, the A-D converter 23, the comparing unit 24, the calculating unit 26, the adjusting unit 28, and the photoflash module 29 are electrically connected in series in that order. One end of the storing unit 27 is connected with the adjusting unit 28 and the other end is connected to the photoflash module 29 via the A-D converter 23. The A-D converter 23 is electrically connected in parallel to a lamp 291 of the photoflash module 29 for sampling the voltage value of the capacitor C1.

The signal processing unit 22 receives the electrical signals of the image transmitted from a light sensitive element (not shown) to get a current brightness value thereof. The comparing unit 24 is configured for comparing the current brightness value with a predetermined brightness value stored in the comparing unit 24 and outputting the current brightness value to the calculating unit 26 when the current brightness value is less than the predetermined brightness value. The calculating unit 26 is configured for calculating a first photoflash time of the photoflash module 29 based on a first voltage value of a capacitor C1 of the photoflash module 29 according to the current brightness value.

The storing unit 27 includes a first memory 271 and a second memory 272. The first memory 271 holds the first voltage value until passing it to the second memory 272 for using in calculating the first photoflash time and is also utilized as a ROM for holding a second voltage value of the capacitor C1 received from the A-D converter 23 after the calculating unit finishes calculating, while the second memory 272 is utilized as a RAM only for storing the first voltage value of the capacitor C1 received from the first memory 271. The adjusting unit 28 adjusts the first photoflash time to get a second photoflash time according to the second voltage value and the first voltage value received from the first memory 271 and the second memory 272 respectively, thereby outputting the second photoflash time to the photoflash module 29 to control flashing of the photoflash module 29.

The photoflash module 29 includes the capacitor C1, the lamp 291, and a triggering unit 292 connected in series in that order. The triggering unit 292 receives the second photoflash time of the photoflash module 29 and triggers the capacitor C1 to discharge to control the lamp 291 to emit light.

Referring to FIG. 2, a method for a camera using the photoflash control system 200 to control flashing of the photoflash module is also provided. The method includes the steps of: Firstly, the camera is turned on and the photoflash control system 200 is activated, and the capacitor C1 charges. And then, in step S10: the photoflash control system 200 idles waiting for an image capture command (user presses button on the camera to taking picture). Once the command is received, go to step S100.

S100: analyzing image information to obtain a current brightness value of a current image and the A-D converter 23 obtains the first voltage value U1 and stores it in the first memory 271; S200: judging whether the current brightness value of the image is lower than a predetermined brightness value stored in the comparing unit 24. If yes, go to step S300, if no, return to step S10; S300: calculating a first photoflash time of the photoflash module 29 based on the first voltage value U1 of the capacitor C1 and according to the current brightness value; S400: storing a second voltage value U2 of the capacitor C1 when the calculating unit finishing calculating; S500: adjusting the first photoflash time to get a second photoflash time according to the first voltage value U1 and the second voltage value U2 of the capacitor C1; S600: outputting the second photoflash time to the photoflash module 29 to control flashing of the photoflash module 29. S700: triggering the capacitor C1 to discharge to control the lamp 291 to flash in sync with the camera's image capturing as according to the second photoflash time. Then return to the step of charging the capacitor C1.

In step S100, the signal processing unit 22 analyzes image information to obtain the current brightness value of the image. The signal processing unit 22 can receive image information from one or more light sensitive elements such as charge coupled devices (CCD), or complementary metal oxide semiconductors (CMOS).

In step 200, the comparing unit 24 compares the current brightness value with a predetermined brightness value stored in the comparing unit 24. Further, if the current brightness value of the image is greater than or equal to the predetermined brightness value, the photoflash system 200 is configured to idle (return to step S10 and wait for next command), and the camera takes picture based on ambient light. If the current brightness value of the image is less than the predetermined brightness value, the photoflash module 29 is configured to activate a routine for providing additional light for the image. At this time, the comparing unit 24 outputs the current brightness value to the calculating unit 26.

In step S300, Before the calculating unit 26 calculates, the first voltage value U1 of the capacitor C1 is stored in the second memory 272.

In step S400, the calculating unit 26 calculates a first photoflash time t1 based on the first voltage value of the capacitor C1 according to the current brightness value.

In step 500, the second voltage value U2 is obtained via the A-D converter 23 and stored in the first memory 271. Then the adjusting unit 28 receives the first voltage value U1 of the capacitor C1 stored in the second memory 272, and the second voltage value U2 of the capacitor C1 held in the first memory 271 and adjusts the first photoflash time t1 to get a second photoflash time t2 according to the second voltage value U2 of the capacitor C1 received from the first memory 271. The second photoflash time t2 is obtained by the following described formula A used by the adjusting unit 28, using the references t1, U1 and U2.

t2=t1+(U1² −U2²)*K  A)

wherein K is a micro-adjusting constant and in direct ratio of the capacitance of the capacitor C1. After this performed, in step S600, the second photoflash time t2 is output to the triggering unit 292 of the photoflash module 29 to control the capacitor C1 discharge, thereby triggering the lamp 291 to flash. After the flashing of the photoflash module 29 is performed, return to the step of charging the capacitor C1.

As stated above, the flash control system and method adjusts the first photoflash time t1 calculated by the calculating unit 26 based on the first voltage value of the capacitor before the calculating unit calculating to get the second photoflash time t2 based on the second voltage value of the capacitor after the calculating unit finishing calculating via the adjusting unit 28, thereby providing enough light to the image during image capture.

Although the present invention has been described with reference to a particular embodiment, it is not to be construed as being limited thereto. Various alterations and modifications can be made to the embodiment without in any way departing from the scope or spirit of the present invention as defined in the appended claims. 

1. A system for controlling photoflash comprising: a photoflash module for illuminating an object, the photoflash module including a capacitor; a signal processing unit configured for analyzing image information of the object to obtain a current brightness value of the image at a first timing at which and the capacitor has a first voltage value applied thereto; a calculating unit configured for calculating a first photoflash time of the photoflash module based on the first voltage value of the capacitor and the current brightness value; and an adjusting unit configured for adjusting the first photoflash time to a second photoflash time according to a second voltage value of the capacitor at a subsequent second timing at which the first voltage value of the capacitor is changed into the second voltage value thereof and controlling flashing of the photoflash module according to the second photoflash time.
 2. The system for controlling photoflash as claimed in claim 1, wherein the flash module includes a lamp the capacitor, and a triggering unit connected in series in that order, the triggering unit configured for receiving the second photoflash time of the photoflash module and triggering the capacitor to discharge to control the lamp to emit light.
 3. The system for controlling photoflash as claimed in claim 2, further comprising an A-D converter is electrically connected in parallel to the lamp and configured for sampling the first voltage value and the second voltage value of the capacitor.
 4. The system for controlling photoflash as claimed in claim 3, further comprising a storing unit is configured for storing the first voltage value and the second voltage value of the capacitor.
 5. The system for controlling photoflash as claimed in claim 4, wherein the storing unit includes a first memory and a second memory, the first memory being configured for holding the first voltage value until passing the first voltage value to the second memory for using in calculating the first photoflash time and being utilized as a ROM for holding the second voltage value of the capacitor received from the A-D converter and the second memory being utilized as a RAM only for storing the first voltage value of the capacitor received from the first memory.
 6. The system for controlling photoflash as claimed in claim 5, wherein the adjusting unit is configured for adjusting the first photoflash time to the second photoflash time used by a formula t2=t1+(U1 ²−U2 ²)*K, wherein t1 is the first photoflash time, t2 is the second photoflash time, U1 is the first voltage value held in the first memory and then stored in the second memory, U2 is the second voltage value only held in the first memory received from the A-D converter, and K is a micro-adjusting constant.
 7. The system for controlling photoflash as claimed in claim 6, wherein the micro-adjusting constant K is in direct ratio to the capacitance of the capacitor.
 8. The system for controlling photoflash as claimed in claim 7, further comprising a comparing unit is configured for comparing the current brightness value with a predetermined brightness value stored in the comparing unit to output the brightness to the calculating unit if the current brightness value is lower than the predetermined brightness value.
 9. A method for controlling a photoflash module flash to illuminating an object, the method comprising: analyzing image information to obtain a current brightness value of the image of the object and a first voltage value of a capacitor arranged in a photoflash module; judging whether the current brightness value of the image is lower than the predetermined brightness value; calculating a first photoflash time of the photoflash module based on an first voltage value of a capacitor of the photoflash module and the current brightness value; storing a second voltage value of the capacitor when the calculating unit finishing calculating; adjusting the first photoflash time to a second photoflash time according to the first voltage value and the second voltage value of the capacitor; outputting the second photoflash time to the photoflash module to control flashing of the photoflash module.
 10. The method as claimed in claim 9, wherein the flash module includes the capacitor, a lamp and a triggering unit connected in series in that order, the triggering unit configured for receiving the second photoflash time and triggering the capacitor to discharge to control the lamp emit light.
 11. The method as claimed in claim 10, wherein a storing unit configured to store the first voltage value and the second voltage value of the capacitor, the storing unit includes a first memory and a second memory, the first memory is configured for holding the first voltage value until passing the first voltage value to the second memory for use in calculating the first photoflash time and also being utilized as a ROM for holding the second voltage value of the capacitor received from the A-D converter and the second memory being utilized as a RAM only for storing the first voltage value of the capacitor received from the first memory.
 12. The method as claimed in claim 10, wherein the A-D converter is electrically connected in parallel to the lamp of the photoflash module for sampling the first voltage value and the second voltage value of the capacitor. 